<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>文件列表</title>
	<%@include file="/views/header.jsp" %>
</head>
<body class="childrenBody">
<form class="layui-form">
	<blockquote class="layui-elem-quote quoteBox">
		<form class="layui-form">
			<div class="layui-inline">
				<label class="layui-btn">用户名称</label>
				<div class="layui-input-inline">
					<input type="text" class="layui-input usernameQuery" placeholder="请输入用户名称" />
				</div>
				<%--<label class="layui-btn" style="margin-left:50px;">手机号</label>
				<div class="layui-input-inline">
					<input type="text" class="layui-input phoneQuery" placeholder="请输入手机号" />
				</div>--%>
			</div>
			<a class="layui-btn search_btn" style="margin-left:50px;" data-type="reload">搜索</a>
		</form>
		<div>
			<shiro:hasPermission name="/file/uploadfile">
				<div class="layui-inline"><a class="layui-btn layui-btn-normal upload_btn">上传文件</a></div>
			</shiro:hasPermission >
			<shiro:hasPermission name="/uploadfile/printfile">
				<div class="layui-inline"><a class="layui-btn layui-btn-normal print_btn">打印</a></div>
			</shiro:hasPermission >
			<shiro:hasPermission name="/uploadfile/createpdf">
				<div class="layui-inline"><a class="layui-btn layui-btn-normal createpdf_btn">测试生成pdf</a></div>
			</shiro:hasPermission >
			<shiro:hasPermission name="/uploadfile/downLoadZipFile">
				<div class="layui-inline"><a class="layui-btn layui-btn-normal downLoadZip_btn">测试打包下载</a></div>
			</shiro:hasPermission >
		</div>
	</blockquote>
	<table id="fileList" lay-filter="fileList"></table>

	<!--操作-->
	<%--<script type="text/html" id="userListBar">
		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
		<a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="usable">已启用</a>
		<a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
	</script>--%>
</form>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/file/fileList.js"></script>
</body>
</html>